\begin{align*}
\frac{\partial f(x)}{\partial x_m} 
& = \sum_{i,j}^{n} w_ij {\frac{\partial{}\Ea{(f_i-f_j)^2}}{\partial{} x_m}} \\
& = \alpha
\end{align*}
